home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
007
/
cstdio.arc
/
SRC.ARC
/
OUTB.A
< prev
next >
Wrap
Text File
|
1985-06-10
|
321b
|
21 lines
; _outb.a - output byte to port.
; (C) Copyright 1985 Gregory R. Mansfield - All Rights Reserved.
; G. R. Mansfield. 85/01/16.
; Ver 1.0-5611.
cseg
public _outb_
; _outb(data, port)
; BYTE data;
; int port;
_outb_: pop bx ; return
pop ax ; data
pop dx ; port
sub sp,4
out dx,al
jmp bx